﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DemoObject;
using BusinessObjects;

public partial class Module_Video_Controls_VideoNumView : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            HashSet<string> hs = new HashSet<string>();
            hs.Add("Views DESC");
            int count = 0;
            rpt.DataSource = TblVideoRepository.CreateInstant().SelectListItem(null, null, null, "", "", "", null, true, null, 1, 8, out count, hs);
            rpt.DataBind();
        }
    }
}
